﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestAppRedo
{
	public enum Gender { Male, Female }
	public enum Relation { Mother, Father, Sister, Brother, Wife, Husband, Daughter, Son, Unknown }

	public class Person : IComparable<Person>
	{
		public string ID { get; set; }
		public string FirstName { get; set; }
		public string LastName { get; set; }
		public Gender Gender { get; set; }

		public override string ToString()
		{
			return FirstName;
		}

		#region IComparable<Person> Members

		public int CompareTo(Person other)
		{
			return FirstName.CompareTo(other.FirstName);
		}

		#endregion
	}
}
